<template>
  <div>
    <h1>我是弟弟中的count{{count}}</h1>
  </div>
</template>

<script>
export default {
  name:'Didi',
  data(){
    return{
      count:0
    }
  },
    mounted(){
    this.$bus.$on('count',(count)=>{
      this.count = count
    })
  }

}
</script>

<style>

</style>